package com.zjsy.service;

import java.util.List;

import com.zjsy.page.PageBean;
import com.zjsy.po.MainNews;
import com.zjsy.po.MainNewsList;
import com.zjsy.po.MainNewsModule;

public interface MainNewsService {
	
	public void addNewsModule(MainNewsModule newsmodule);
	
	//查找所有轮播图
    public List<MainNewsList> findShufflingNews();
	
	public List<MainNewsModule> findNewsModule(String kind);
	
    public MainNewsModule findNewsModuleById(String id);
	
	public void updateNewByid(MainNewsModule newsmodule);
	
	public void addNews(MainNews mainnews);
	
	public List<MainNewsList> findMainNews();
	
	public MainNews findMainNewsById(String id);
	
	public MainNews findShufflingNewsById(String id);
	
	public void updateNewsByid(MainNews news);
	
	public void updateShufllingNewsByid(MainNews news);
	
	public void deleteNewsByid(String id);

	public PageBean<MainNewsList> findMainNewsByPage(int pc);
	
	public PageBean<MainNewsList> findMainNewsByDetail(String firstClassify,String secondClassify,int pc);
	
	

}
